package zju.dgm.util;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.concurrent.locks.ReentrantLock;

@Component
@PropertySource("classpath:zkconf/path.properties")
@ConfigurationProperties(prefix = "service")
@Data
public class Paths {

    private String namePath;
    private String electionPath;
    private String masterInfoPath;
    ReentrantLock lock;

}
